package com.xuecheng.manage_course.dao;

import com.xuecheng.framework.domain.course.Teachplan;
import com.xuecheng.framework.domain.course.ext.TeachplanNode;
import org.apache.commons.lang3.StringUtils;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;


@Mapper
public interface TeachplanRepository extends JpaRepository<Teachplan,String> {

    // 根据课程id和parentid查询teachplan,
    public List<Teachplan> findByCourseidAndParentid(String courseId, String parentId);

}
